package com.crrc.dataparse.entity;

import java.io.Serializable;

public class Pro2Temp implements Serializable {
    private Pro2TempPK pk = new Pro2TempPK();

    public Pro2Temp() {
    }

    public Pro2TempPK getPk() {
        return this.pk;
    }

    public Protocol getProtocol() {
        return this.pk.protocol;
    }

    public Template getTemplate() {
        return this.pk.template;
    }

    public void setProtocol(Protocol p) {
        this.pk.protocol = p;
    }

    public void setTemplate(Template t) {
        this.pk.template = t;
    }
    @Override
    public String toString() {
        return this.pk.template == null ? "" : this.pk.template.getOid();
    }
}

